/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entity;

/**
 *
 * @author cgzf
 */
public class Doctor {

    private int DoctorID;
    private String DName;
    private String Address;
    private int PhoneNo;
    private String username;
    private String password;
    private int level;
    private String Specialization;

    public Doctor() {
        //To change body of generated methods, choose Tools | Templates.
    }

    public String getDName() {
        return DName;
    }

    public void setDName(String DName) {
        this.DName = DName;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String Address) {
        this.Address = Address;
    }

    public int getPhoneNo() {
        return PhoneNo;
    }

    public void setPhoneNo(int PhoneNo) {
        this.PhoneNo = PhoneNo;
    }

    public String getSpecialization() {
        return Specialization;
    }

    public void setSpecialization(String Specialization) {
        this.Specialization = Specialization;
    }

    public int getDoctorID() {
        return DoctorID;
    }

    public void setDoctorID(int DoctorID) {
        this.DoctorID = DoctorID;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public Doctor(String DName, String Address, int PhoneNo, String username, String password, String Specialization) {
        this.DName = DName;
        this.Address = Address;
        this.PhoneNo = PhoneNo;
        this.Specialization = Specialization;
        this.username = username;
        this.password = password;
        this.level = 2;
    }

    @Override
    public String toString() {
        return "Doctor{" + "DName=" + DName + ", Address=" + Address + ", PhoneNo=" + PhoneNo + ", Specialization=" + Specialization + '}';
    }
}
